package com.wing.user.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.common.utils.PageResult;
import com.wing.contract.model.entity.WarehouseContract;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.contract.model.request.WarehouseContractForm;
import com.wing.contract.model.response.WarehouseContractVO;
import com.wing.product.model.response.WarehouseOrderVO;

import java.util.List;
import java.util.Map;

public interface WarehouseContractService extends IService<WarehouseContract>{


    Boolean save(WarehouseContractForm warehouseContractForm);

    Boolean update(WarehouseContractForm warehouseContractForm);

    Page<WarehouseContractVO> pageList4app(Page page, Map<String, Object> params);

    WarehouseContractVO info(Long id);

    List<WarehouseContract> findByCustomerId(Long customerId);

    Boolean saveProduce(WarehouseContractForm warehouseContractForm);
}
